import 'package:flutter/material.dart';
import 'package:flutter_shensu/common/style/AiSuColors.dart';
import 'package:flutter_shensu/page/main_page.dart';
import 'page/welcome_page.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
        debugShowCheckedModeBanner: true,
        title: "神速加速器",
        theme: new ThemeData(
          //primarySwatch: Colors.blue,
          primaryColor: Color(AiSuColors.primaryAiSuValue),
          platform: TargetPlatform.android,
        ),
        routes: {
          WelcomePage.sName: (context) {
            return WelcomePage();
          },
          NewMainPage.sName: (context) {
            return NewMainPage();
          }
        });
  }
}
